package cn.iocoder.ny.module.mall.controller.admin.login.vo;

import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;

/**
 * @author luchunhong
 * @date 2024/10/21/ 15:42
 * @description:
 */
@Data
public class WxRegisterVo {
    //微信appid(小程序唯一标识)
    private String appId;

    //手机
    @Min(value = 11, message = "手机号长度必须为11")
    private String mobile;

    //密码
    @Min(value = 5, message = "密码长度必须大于5")
    @Max(value = 20, message = "密码长度必须小于20")
    private String password;
    //密码
    private String passwordAgain;

    //验证码
    private String messageCode;

    private String nickName;

    private String avatar;



}
